import javax.swing.JPanel;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JButton;


public class Registration extends JPanel {
	private JTextField txtUsername;
	private JTextField txtPassword;
	private JTextField txtName;
	private JTextField txtRetypePassword;

	/**
	 * Create the panel.
	 */
	public Registration() {
		setLayout(null);
		
		JLabel lblUsername = new JLabel("Username:");
		lblUsername.setBounds(47, 50, 63, 14);
		add(lblUsername);
		
		JLabel lblPassword = new JLabel("Password:");
		lblPassword.setBounds(47, 92, 63, 14);
		add(lblPassword);
		
		JLabel lblName = new JLabel("Name:");
		lblName.setBounds(47, 173, 46, 14);
		add(lblName);
		
		txtUsername = new JTextField();
		txtUsername.setBounds(153, 50, 86, 20);
		add(txtUsername);
		txtUsername.setColumns(10);
		
		txtPassword = new JTextField();
		txtPassword.setBounds(153, 92, 86, 20);
		add(txtPassword);
		txtPassword.setColumns(10);
		
		txtName = new JTextField();
		txtName.setBounds(153, 173, 86, 20);
		add(txtName);
		txtName.setColumns(10);
		
		JButton btnSubmit = new JButton("Submit");
		btnSubmit.setBounds(106, 220, 89, 23);
		add(btnSubmit);
		
		JLabel lblRetypePassword = new JLabel("Re-type Password:");
		lblRetypePassword.setBounds(47, 132, 105, 14);
		add(lblRetypePassword);
		
		txtRetypePassword = new JTextField();
		txtRetypePassword.setBounds(153, 132, 86, 20);
		add(txtRetypePassword);
		txtRetypePassword.setColumns(10);
		
		JButton btnCancel = new JButton("Cancel");
		btnCancel.setBounds(269, 220, 89, 23);
		add(btnCancel);

	}

}
